package com.flame.file.config;

import java.io.File;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 *
 *
 * @author wuxintong
 * @since 2022/12/15
 */
@ConfigurationProperties(prefix = "flame.file")
public class FileConfigurationProperties {

    private String dir = System.getProperty("user.dir") + File.separator + "files";

    public String getDir() {
        return dir;
    }

    public void setDir(String dir) {
        this.dir = dir;
    }
}
